package com.gjy;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.mongo.MongoDataAutoConfiguration;
import org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration;
import org.springframework.data.mongodb.config.EnableMongoAuditing;

/**
 * @author 宫静雨
 * @version 1.0
 * @since 2022-11-17 16:18:00
 */
@SpringBootApplication(scanBasePackages = "com.gjy",
        exclude = {MongoDataAutoConfiguration.class, MongoAutoConfiguration.class})
@MapperScan(basePackages = "com.gjy.mybatis")
@EnableMongoAuditing
//@EnableDiscoveryClient
public class MainApplication {
    public static void main(String[] args) {
        SpringApplication.run(MainApplication.class, args);
    }
}
